//
//  NewFriendMessageModel.m
//  IMChat
//
//  Created by CLSgGhost on 2021/7/2.
//  Copyright © 2021年 TeamOne. All rights reserved.
//

#import "NewFriendMessageModel.h"

@implementation NewFriendMessageModel

- (NewFriendMessageModel *)initWithOperation:(NSString *)operation
         withSourceUserId:(NSString *)sourceUserId
              withMessage:(NSString *)message{
    
    if(self = [super init]){
        self.operation = operation;
        self.sourceUserId = sourceUserId;
        self.message = message;
    }
    
    return self;
}

//添加好友（自己对别人）信息模型构造
- (NewFriendMessageModel *)initWithOperation:(NSString *)operation
                            withSourceUserId:(NSString *)sourceUserId
                            withTargetUserId:(NSString *)targetUserId
                                 withMessage:(NSString *)message{
    
    if(self = [super init]){
        self.operation = operation;
        self.sourceUserId = sourceUserId;
        self.targetUserId = targetUserId;
        self.message = message;
    }
    
    return self;
}

@end
